Compile a version of Chromium following this tutorial

已取消 已发布的 Nov 30, 2013 货到付款
已取消 货到付款

Here's the full link with the tutorial, its not hard, the tutorial is in the first answer !

[url removed, login to view]

Thankyou for the understanding :)

And the price is fixed at 50 $ since I dont have any money left :(

OK SKIP THE LINK , HERES THE TUT :

In the chromium Each new Window is created by code like this one:

"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_window.h"
#include "content/public/browser/navigation_controller.h"

Browser* CreateBrowser(Profile* profile) {
Browser::CreateParams browser_params(Browser::TYPE_TABBED
profile,
chrome::HOST_DESKTOP_TYPE_FIRST);
browser_params.initial_show_state = ui::SHOW_STATE_NORMAL;
Browser* browser = new Browser(browser_params);
browser->window()->Show();
return browser;
}

// Simplified types definitions:
// class Profile;
//
// namespace ui {
//
// enum WindowShowState {
// SHOW_STATE_DEFAULT = 0,
// SHOW_STATE_NORMAL = 1,
// SHOW_STATE_MINIMIZED = 2,
// SHOW_STATE_MAXIMIZED = 3,
// SHOW_STATE_INACTIVE = 4,
// SHOW_STATE_FULLSCREEN = 5,
// SHOW_STATE_DETACHED = 6,
// SHOW_STATE_END = 7
// };
//
// } // namespace ui
//
// namespace chrome {
//
// enum HostDestkopType {
// HOST_DESKTOP_TYPE_FIRST = 0,
// HOST_DESKTOP_TYPE_NATIVE = HOST_DESTKOP_TYPE_FIRST,
// #if defined(OS_CHROMEOS)
// HOST_DESKTOP_TYPE_ASH = HOST_DESKTOP_TYPE_NATIVE,
// #else
// HOST_DESKTOP_TYPE_ASH,
// #endif
// HOST_DESKTOP_TYPE_COUNT
// };
//
// } // namespace chrome
//
// class Browser {
// public:
// enum Type {
// TYPE_TABBED,
// TYPE_POPUP
// };
// struct CreateParams {
// CreateParams(Profile* profile, chrome::HostDesktopType host_desktop_type);
// CreateParams(Type type, Profile* profile, chrome::HostDesktopType host_desktop_type);
// static CreateParams CreateForApp(Type type, const std::string& app_name,
// const gfx::Rect& window_bounds, Profile* profile,
// chrome::HostDesktopType host_desktop_type);
// static CreateParams CreateForDevTools(Profile* profile,
// chrome::HostDesktopType host_desktop_type);
// Type type;
// Profile* profile;
// chrome::HostDesktopType host_desktop_type;
// std::string app_name;
// gfx::Rect initial_bounds;
// ui::WindowShowState initial_show_state;
// bool is_session_restore;
// BrowserWindow* window;
// };
//
// explicit Browser(CreateParams params);
// BrowserWindow* window() const;
// };
"




You can build your own patched version of chromium.

In the chromium Each new Window is created by code like this one:

#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_window.h"
#include "content/public/browser/navigation_controller.h"

Browser* CreateBrowser(Profile* profile) {
Browser::CreateParams browser_params(Browser::TYPE_TABBED
profile,
chrome::HOST_DESKTOP_TYPE_FIRST);
browser_params.initial_show_state = ui::SHOW_STATE_NORMAL;
Browser* browser = new Browser(browser_params);
browser->window()->Show();
return browser;
}

// Simplified types definitions:
// class Profile;
//
// namespace ui {
//
// enum WindowShowState {
// SHOW_STATE_DEFAULT = 0,
// SHOW_STATE_NORMAL = 1,
// SHOW_STATE_MINIMIZED = 2,
// SHOW_STATE_MAXIMIZED = 3,
// SHOW_STATE_INACTIVE = 4,
// SHOW_STATE_FULLSCREEN = 5,
// SHOW_STATE_DETACHED = 6,
// SHOW_STATE_END = 7
// };
//
// } // namespace ui
//
// namespace chrome {
//
// enum HostDestkopType {
// HOST_DESKTOP_TYPE_FIRST = 0,
// HOST_DESKTOP_TYPE_NATIVE = HOST_DESTKOP_TYPE_FIRST,
// #if defined(OS_CHROMEOS)
// HOST_DESKTOP_TYPE_ASH = HOST_DESKTOP_TYPE_NATIVE,
// #else
// HOST_DESKTOP_TYPE_ASH,
// #endif
// HOST_DESKTOP_TYPE_COUNT
// };
//
// } // namespace chrome
//
// class Browser {
// public:
// enum Type {
// TYPE_TABBED,
// TYPE_POPUP
// };
// struct CreateParams {
// CreateParams(Profile* profile, chrome::HostDesktopType host_desktop_type);
// CreateParams(Type type, Profile* profile, chrome::HostDesktopType host_desktop_type);
// static CreateParams CreateForApp(Type type, const std::string& app_name,
// const gfx::Rect& window_bounds, Profile* profile,
// chrome::HostDesktopType host_desktop_type);
// static CreateParams CreateForDevTools(Profile* profile,
// chrome::HostDesktopType host_desktop_type);
// Type type;
// Profile* profile;
// chrome::HostDesktopType host_desktop_type;
// std::string app_name;
// gfx::Rect initial_bounds;
// ui::WindowShowState initial_show_state;
// bool is_session_restore;
// BrowserWindow* window;
// };
//
// explicit Browser(CreateParams params);
// BrowserWindow* window() const;
// };


You need to:

1. checkout chromium sources (http://www.chromium.org/developers/how-tos/get-the-code).
2. find new Browser( in the code and set params.initial_show_state to the SHOW_STATE_MINIMIZED in the case you want.
3. build it (http://www.chromium.org/developers/how-tos/build-instructions-windows).

C++编程

项目ID: #5182760

关于项目

1个方案 远程项目 活跃的Nov 30, 2013

1 威客就此工作平均出价 $55

aleexaibi

sorry by mistake I retracted sorry by mistake I retracted sorry by mistake I retracted sorry by mistake I retracted sorry by mistake I retracted sorry by mistake I retracted sorry by mistake I retracted sorry by 更多

$55 USD 在3天内
(16条评论)
3.6