• Home
  • Raw
  • Download

Lines Matching full:browser

1 diff --git chrome/browser/ui/browser_command_controller.cc chrome/browser/ui/browser_command_contro…
3 --- chrome/browser/ui/browser_command_controller.cc
4 +++ chrome/browser/ui/browser_command_controller.cc
21 - return browser_->SupportsWindowFeature(Browser::FEATURE_TABSTRIP);
22 + return browser_->SupportsWindowFeature(Browser::FEATURE_TABSTRIP) ||
27 - return browser_->SupportsWindowFeature(Browser::FEATURE_LOCATIONBAR);
28 + return browser_->SupportsWindowFeature(Browser::FEATURE_LOCATIONBAR) ||
33 diff --git chrome/browser/ui/views/frame/browser_frame.cc chrome/browser/ui/views/frame/browser_fra…
35 --- chrome/browser/ui/views/frame/browser_frame.cc
36 +++ chrome/browser/ui/views/frame/browser_frame.cc
68 + // With CEF the browser may already be part of a larger Views layout. Zero
70 + // the browser isn't shifted to the top of the window.
102 - if (browser_view_->browser()->profile()->IsIncognitoProfile() &&
104 + browser_view_->browser()->profile()->IsIncognitoProfile() &&
105 ThemeServiceFactory::GetForProfile(browser_view_->browser()->profile())
108 diff --git chrome/browser/ui/views/frame/browser_frame.h chrome/browser/ui/views/frame/browser_fram…
110 --- chrome/browser/ui/views/frame/browser_frame.h
111 +++ chrome/browser/ui/views/frame/browser_frame.h
113 // This is a virtual interface that allows system specific browser frames.
122 diff --git chrome/browser/ui/views/frame/browser_view.cc chrome/browser/ui/views/frame/browser_view…
124 --- chrome/browser/ui/views/frame/browser_view.cc
125 +++ chrome/browser/ui/views/frame/browser_view.cc
132 BrowserView::BrowserView(std::unique_ptr<Browser> browser)
134 - browser_(std::move(browser)),
137 + if (browser)
138 + InitBrowser(std::move(browser));
141 +void BrowserView::InitBrowser(std::unique_ptr<Browser> browser) {
143 + browser_ = std::move(browser);
150 @@ -594,7 +605,6 @@ BrowserView::BrowserView(std::unique_ptr<Browser> browser)
158 @@ -638,8 +648,15 @@ BrowserView::BrowserView(std::unique_ptr<Browser> browser)
212 + // This browser view may already have a custom button provider set (e.g the
224 - // This browser view may already have a custom button provider set (e.g the
236 diff --git chrome/browser/ui/views/frame/browser_view.h chrome/browser/ui/views/frame/browser_view.h
238 --- chrome/browser/ui/views/frame/browser_view.h
239 +++ chrome/browser/ui/views/frame/browser_view.h
245 explicit BrowserView(std::unique_ptr<Browser> browser);
246 + void InitBrowser(std::unique_ptr<Browser> browser);
255 + virtual ToolbarView* OverrideCreateToolbar(Browser* browser,
263 diff --git chrome/browser/ui/views/frame/browser_view_layout.cc chrome/browser/ui/views/frame/brows…
265 --- chrome/browser/ui/views/frame/browser_view_layout.cc
266 +++ chrome/browser/ui/views/frame/browser_view_layout.cc
280 diff --git chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc chrome/browser/ui/views/tab…
282 --- chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc
283 +++ chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc
338 diff --git chrome/browser/ui/views/toolbar/toolbar_view.cc chrome/browser/ui/views/toolbar/toolbar_…
340 --- chrome/browser/ui/views/toolbar/toolbar_view.cc
341 +++ chrome/browser/ui/views/toolbar/toolbar_view.cc
346 -ToolbarView::ToolbarView(Browser* browser, BrowserView* browser_view)
347 +ToolbarView::ToolbarView(Browser* browser, BrowserView* browser_view,
350 browser_(browser),
352 app_menu_icon_controller_(browser->profile(), this),
353 - display_mode_(GetDisplayMode(browser)) {
354 + display_mode_(display_mode ? *display_mode : GetDisplayMode(browser)) {
367 diff --git chrome/browser/ui/views/toolbar/toolbar_view.h chrome/browser/ui/views/toolbar/toolbar_v…
369 --- chrome/browser/ui/views/toolbar/toolbar_view.h
370 +++ chrome/browser/ui/views/toolbar/toolbar_view.h
375 - ToolbarView(Browser* browser, BrowserView* browser_view);
376 + ToolbarView(Browser* browser, BrowserView* browser_view,