- cefclient: Add background-color command-line argument (issue #1161).

- Rename cef_url.h to cef_parser.h.
- Add new CefParseCSSColor function.
This commit is contained in:
Marshall Greenblatt
2015-04-09 16:59:34 +02:00
parent 2c03492160
commit ae91d8f4e5
33 changed files with 645 additions and 434 deletions

View File

@@ -40,8 +40,7 @@ class OsrWindowWin :
// |delegate| must outlive this object.
OsrWindowWin(Delegate* delegate,
bool transparent,
bool show_update_rect);
const OsrRenderer::Settings& settings);
// Create a new browser and native window.
void CreateBrowser(HWND parent_hwnd,
@@ -80,7 +79,8 @@ class OsrWindowWin :
void NotifyNativeWindowCreated(HWND hwnd);
static void RegisterOsrClass(HINSTANCE hInstance);
static void RegisterOsrClass(HINSTANCE hInstance,
HBRUSH background_brush);
static LRESULT CALLBACK OsrWndProc(HWND hWnd, UINT message, WPARAM wParam,
LPARAM lParam);
@@ -91,6 +91,7 @@ class OsrWindowWin :
void OnCaptureLost();
void OnKeyEvent(UINT message, WPARAM wParam, LPARAM lParam);
void OnPaint();
bool OnEraseBkgnd();
// Manage popup bounds.
bool IsOverPopupWidget(int x, int y) const;