• 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.
104 Browser* browser = browser_view_->browser();
105 auto* app_controller = browser->app_controller();
111 - if (browser_view_->browser()->profile()->IsIncognitoProfile()) {
113 + browser_view_->browser()->profile()->IsIncognitoProfile()) {
117 diff --git chrome/browser/ui/views/frame/browser_frame.h chrome/browser/ui/views/frame/browser_fram…
119 --- chrome/browser/ui/views/frame/browser_frame.h
120 +++ chrome/browser/ui/views/frame/browser_frame.h
122 // This is a virtual interface that allows system specific browser frames.
131 diff --git chrome/browser/ui/views/frame/browser_view.cc chrome/browser/ui/views/frame/browser_view…
133 --- chrome/browser/ui/views/frame/browser_view.cc
134 +++ chrome/browser/ui/views/frame/browser_view.cc
156 BrowserView::BrowserView(std::unique_ptr<Browser> browser)
158 - browser_(std::move(browser)),
161 + if (browser)
162 + InitBrowser(std::move(browser));
165 +void BrowserView::InitBrowser(std::unique_ptr<Browser> browser) {
167 + browser_ = std::move(browser);
174 @@ -701,7 +711,6 @@ BrowserView::BrowserView(std::unique_ptr<Browser> browser)
182 @@ -749,8 +758,15 @@ BrowserView::BrowserView(std::unique_ptr<Browser> browser)
236 + // This browser view may already have a custom button provider set (e.g the
248 - // This browser view may already have a custom button provider set (e.g the
288 diff --git chrome/browser/ui/views/frame/browser_view.h chrome/browser/ui/views/frame/browser_view.h
290 --- chrome/browser/ui/views/frame/browser_view.h
291 +++ chrome/browser/ui/views/frame/browser_view.h
297 explicit BrowserView(std::unique_ptr<Browser> browser);
298 + void InitBrowser(std::unique_ptr<Browser> browser);
314 + virtual ToolbarView* OverrideCreateToolbar(Browser* browser,
322 diff --git chrome/browser/ui/views/frame/browser_view_layout.cc chrome/browser/ui/views/frame/brows…
324 --- chrome/browser/ui/views/frame/browser_view_layout.cc
325 +++ chrome/browser/ui/views/frame/browser_view_layout.cc
331 +#include "cef/libcef/browser/chrome/views/chrome_views_util.h"
349 diff --git chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc chrome/browser/ui/views/tab…
351 --- chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc
352 +++ chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc
407 diff --git chrome/browser/ui/views/toolbar/toolbar_view.cc chrome/browser/ui/views/toolbar/toolbar_…
409 --- chrome/browser/ui/views/toolbar/toolbar_view.cc
410 +++ chrome/browser/ui/views/toolbar/toolbar_view.cc
415 -ToolbarView::ToolbarView(Browser* browser, BrowserView* browser_view)
416 +ToolbarView::ToolbarView(Browser* browser, BrowserView* browser_view,
419 browser_(browser),
421 app_menu_icon_controller_(browser->profile(), this),
422 - display_mode_(GetDisplayMode(browser)) {
423 + display_mode_(display_mode ? *display_mode : GetDisplayMode(browser)) {
436 diff --git chrome/browser/ui/views/toolbar/toolbar_view.h chrome/browser/ui/views/toolbar/toolbar_v…
438 --- chrome/browser/ui/views/toolbar/toolbar_view.h
439 +++ chrome/browser/ui/views/toolbar/toolbar_view.h
444 - ToolbarView(Browser* browser, BrowserView* browser_view);
445 + ToolbarView(Browser* browser, BrowserView* browser_view,