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

Side by Side Diff: chrome/browser/chromeos/frame/dom_browser_view.cc

Issue 7015051: Re-land: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 7 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "chrome/browser/chromeos/frame/dom_browser_view.h" 5 #include "chrome/browser/chromeos/frame/dom_browser_view.h"
6 6
7 #include "chrome/browser/chromeos/frame/dom_browser_view_layout.h" 7 #include "chrome/browser/chromeos/frame/dom_browser_view_layout.h"
8 #include "ui/gfx/rect.h" 8 #include "ui/gfx/rect.h"
9 #include "views/widget/widget.h" 9 #include "views/widget/widget.h"
10 10
11 namespace chromeos { 11 namespace chromeos {
12 12
13 // DOMBrowserView, public ------------------------------------------------------ 13 // DOMBrowserView, public ------------------------------------------------------
14 14
15 DOMBrowserView::DOMBrowserView(Browser* browser) 15 DOMBrowserView::DOMBrowserView(Browser* browser)
16 : chromeos::BrowserView(browser) {} 16 : chromeos::BrowserView(browser) {}
17 17
18 DOMBrowserView::~DOMBrowserView() {} 18 DOMBrowserView::~DOMBrowserView() {}
19 19
20 // static 20 // static
21 BrowserWindow* DOMBrowserView::CreateDOMWindow(Browser* browser) { 21 BrowserWindow* DOMBrowserView::CreateDOMWindow(Browser* browser) {
22 DOMBrowserView* view = new DOMBrowserView(browser); 22 DOMBrowserView* view = new DOMBrowserView(browser);
23 BrowserFrame::Create(view, browser->profile()); 23 (new BrowserFrame(view))->InitBrowserFrame();
24 return view; 24 return view;
25 } 25 }
26 26
27 void DOMBrowserView::WindowMoveOrResizeStarted() {} 27 void DOMBrowserView::WindowMoveOrResizeStarted() {}
28 28
29 gfx::Rect DOMBrowserView::GetToolbarBounds() const { 29 gfx::Rect DOMBrowserView::GetToolbarBounds() const {
30 return gfx::Rect(); 30 return gfx::Rect();
31 } 31 }
32 32
33 int DOMBrowserView::GetTabStripHeight() const { 33 int DOMBrowserView::GetTabStripHeight() const {
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 return new DOMBrowserViewLayout; 100 return new DOMBrowserViewLayout;
101 } 101 }
102 102
103 ToolbarView* DOMBrowserView::CreateToolbar() const { 103 ToolbarView* DOMBrowserView::CreateToolbar() const {
104 return NULL; 104 return NULL;
105 } 105 }
106 106
107 void DOMBrowserView::LoadingAnimationCallback() {} 107 void DOMBrowserView::LoadingAnimationCallback() {}
108 108
109 } // namespace chromeos 109 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/frame/bubble_window.cc ('k') | chrome/browser/chromeos/frame/panel_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698