Lines Matching refs:browser
5 #include "chrome/browser/chromeos/wm_overview_controller.h"
11 #include "chrome/browser/browser_process.h"
12 #include "chrome/browser/chromeos/wm_ipc.h"
13 #include "chrome/browser/chromeos/wm_overview_favicon.h"
14 #include "chrome/browser/chromeos/wm_overview_snapshot.h"
15 #include "chrome/browser/chromeos/wm_overview_title.h"
16 #include "chrome/browser/tab_contents/thumbnail_generator.h"
17 #include "chrome/browser/tabs/tab_strip_model.h"
18 #include "chrome/browser/ui/browser.h"
19 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
20 #include "chrome/browser/ui/views/frame/browser_view.h"
21 #include "content/browser/renderer_host/render_view_host.h"
22 #include "content/browser/renderer_host/render_widget_host.h"
23 #include "content/browser/renderer_host/render_widget_host_view.h"
24 #include "content/browser/tab_contents/tab_contents.h"
25 #include "content/browser/tab_contents/tab_contents_view.h"
51 // This is the maximum percentage of the original browser client area
63 BrowserListener(Browser* browser, WmOverviewController* parent);
90 // Returns the browser that this child gets its data from.
91 Browser* browser() const { return browser_; }
93 // Removes all the snapshots and re-populates them from the browser.
113 // Reverts the selected browser tab to the tab that was selected
133 // Calculate the size of a cell based on the browser window's size.
155 Browser* browser_; // Not owned
161 // Widgets containing snapshot images for this browser. Note that
184 BrowserListener::BrowserListener(Browser* browser,
186 : browser_(browser),
196 // This browser didn't already exist, and so we haven't been
341 // the browser client area. In this way, when this snapshot gets
477 // connected, so we know when a new browser has been created.
507 // a new browser is created), but other notifications aren't
508 // sufficient to know when the first tab of a new browser has its
512 // appropriate (browser-level) notification.
549 void WmOverviewController::OnBrowserRemoved(const Browser* browser) {
552 if ((*i)->browser() == browser) {
588 if ((*i)->browser()->window() == browser_window) {
667 DLOG(INFO) << "Browser listener(s) have disappeared since last update";
713 // Iterator through the browser list, adding all the browsers in the
719 // Don't add a browser to the list if that type of browser doesn't
721 if ((*iterator)->type() != Browser::TYPE_NORMAL &&
722 (*iterator)->type() != Browser::TYPE_APP) {
731 if ((*old_iter)->browser() == *iterator) {
737 // This browser isn't tracked by any listener, so create it.