Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(248)

Side by Side Diff: chrome/browser/renderer_host/render_widget_host_view_win.h

Issue 3547008: Handle resize corner layout entirely in the platform BrowserWindow*/BrowserView* code... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include <atlbase.h> 9 #include <atlbase.h>
10 #include <atlapp.h> 10 #include <atlapp.h>
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 short scroll_position); 241 short scroll_position);
242 242
243 // Shuts down the render_widget_host_. This is a separate function so we can 243 // Shuts down the render_widget_host_. This is a separate function so we can
244 // invoke it from the message loop. 244 // invoke it from the message loop.
245 void ShutdownHost(); 245 void ShutdownHost();
246 246
247 // Redraws the window synchronously, and any child windows (i.e. plugins) 247 // Redraws the window synchronously, and any child windows (i.e. plugins)
248 // asynchronously. 248 // asynchronously.
249 void Redraw(); 249 void Redraw();
250 250
251 // Draw the resize corner bitmap on top of the given HDC, if it intersects the
252 // given paint rect.
253 void DrawResizeCorner(const gfx::Rect& paint_rect, HDC dc);
254
255 // Draw our background over the given HDC in the given |rect|. The background 251 // Draw our background over the given HDC in the given |rect|. The background
256 // will be tiled such that it lines up with existing tiles starting from the 252 // will be tiled such that it lines up with existing tiles starting from the
257 // origin of |dc|. 253 // origin of |dc|.
258 void DrawBackground(const RECT& rect, CPaintDC* dc); 254 void DrawBackground(const RECT& rect, CPaintDC* dc);
259 255
260 // Create an intermediate window between the given HWND and its parent. 256 // Create an intermediate window between the given HWND and its parent.
261 HWND ReparentWindow(HWND window); 257 HWND ReparentWindow(HWND window);
262 258
263 // Whether the window should be activated. 259 // Whether the window should be activated.
264 bool IsActivatable() const; 260 bool IsActivatable() const;
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 // Stores the current text input type received by ImeUpdateTextInputState() 339 // Stores the current text input type received by ImeUpdateTextInputState()
344 // method. 340 // method.
345 WebKit::WebTextInputType text_input_type_; 341 WebKit::WebTextInputType text_input_type_;
346 342
347 ScopedVector<app::win::ScopedProp> props_; 343 ScopedVector<app::win::ScopedProp> props_;
348 344
349 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); 345 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin);
350 }; 346 };
351 347
352 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ 348 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_widget_host_view.h ('k') | chrome/browser/renderer_host/render_widget_host_view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698