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

Unified Diff: chrome/browser/ui/views/frame/opaque_browser_frame_view.h

Issue 6577003: Entire DOMBrowser stack (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view_layout.h ('k') | chrome/browser/webui/web_ui_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/frame/opaque_browser_frame_view.h
diff --git a/chrome/browser/ui/views/frame/opaque_browser_frame_view.h b/chrome/browser/ui/views/frame/opaque_browser_frame_view.h
index 0303d3ac7777194f44ccaed2d6c0cb6f7be31340..d23a4b53a5e74d70a7bb85329b0c3808e96018bb 100644
--- a/chrome/browser/ui/views/frame/opaque_browser_frame_view.h
+++ b/chrome/browser/ui/views/frame/opaque_browser_frame_view.h
@@ -22,6 +22,12 @@ class ImageButton;
class ImageView;
}
+#if defined(OS_CHROMEOS) && defined(TOUCH_UI)
+namespace chromeos {
+class DOMBrowserFrameView;
+}
+#endif
+
class OpaqueBrowserFrameView : public BrowserNonClientFrameView,
public views::ButtonListener,
public TabIconView::TabIconViewModel {
@@ -69,6 +75,11 @@ class OpaqueBrowserFrameView : public BrowserNonClientFrameView,
virtual SkBitmap GetFavIconForTabIconView();
private:
+
+#if defined(OS_CHROMEOS) && defined(TOUCH_UI)
+ friend class chromeos::DOMBrowserFrameView;
+#endif
+
// Returns the thickness of the border that makes up the window frame edges.
// This does not include any client edge. If |restored| is true, acts as if
// the window is restored regardless of the real mode.
@@ -119,7 +130,7 @@ class OpaqueBrowserFrameView : public BrowserNonClientFrameView,
// Layout various sub-components of this view.
void LayoutWindowControls();
void LayoutTitleBar();
- void LayoutOTRAvatar();
+ virtual void LayoutOTRAvatar();
// Returns the bounds of the client area for the specified view size.
gfx::Rect CalculateClientAreaBounds(int width, int height) const;
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view_layout.h ('k') | chrome/browser/webui/web_ui_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698