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

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

Issue 9265018: Change grow box computation back to a method on BrowserWindow (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cros build Created 8 years, 11 months 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ 6 #define CONTENT_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 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 short scroll_position); 310 short scroll_position);
311 311
312 // Shuts down the render_widget_host_. This is a separate function so we can 312 // Shuts down the render_widget_host_. This is a separate function so we can
313 // invoke it from the message loop. 313 // invoke it from the message loop.
314 void ShutdownHost(); 314 void ShutdownHost();
315 315
316 // Redraws the window synchronously, and any child windows (i.e. plugins) 316 // Redraws the window synchronously, and any child windows (i.e. plugins)
317 // asynchronously. 317 // asynchronously.
318 void Redraw(); 318 void Redraw();
319 319
320 // Draw the resize corner bitmap on top of the given HDC, if it intersects the
321 // given paint rect.
322 void DrawResizeCorner(const gfx::Rect& paint_rect, HDC dc);
323
320 // Draw our background over the given HDC in the given |rect|. The background 324 // Draw our background over the given HDC in the given |rect|. The background
321 // will be tiled such that it lines up with existing tiles starting from the 325 // will be tiled such that it lines up with existing tiles starting from the
322 // origin of |dc|. 326 // origin of |dc|.
323 void DrawBackground(const RECT& rect, CPaintDC* dc); 327 void DrawBackground(const RECT& rect, CPaintDC* dc);
324 328
325 // Create an intermediate window between the given HWND and its parent. 329 // Create an intermediate window between the given HWND and its parent.
326 HWND ReparentWindow(HWND window); 330 HWND ReparentWindow(HWND window);
327 331
328 // Clean up the compositor window, if needed. 332 // Clean up the compositor window, if needed.
329 void CleanupCompositorWindow(); 333 void CleanupCompositorWindow();
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
534 // Set to true if the focus is currently on an editable field on the page. 538 // Set to true if the focus is currently on an editable field on the page.
535 bool focus_on_editable_field_; 539 bool focus_on_editable_field_;
536 540
537 // Set to true if we received a focus change after a WM_POINTERDOWN message. 541 // Set to true if we received a focus change after a WM_POINTERDOWN message.
538 bool received_focus_change_after_pointer_down_; 542 bool received_focus_change_after_pointer_down_;
539 543
540 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); 544 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin);
541 }; 545 };
542 546
543 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ 547 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698