Lines Matching defs:BrowserView

211                               BrowserView* browser_view,
232 const char BrowserView::kViewClassName[] = "BrowserView";
237 // into BrowserView.
240 explicit BrowserViewLayoutDelegateImpl(BrowserView* browser_view)
276 // BrowserView.
293 BrowserView* browser_view_;
304 BookmarkExtensionBackground(BrowserView* browser_view,
312 BrowserView* browser_view_;
323 BrowserView* browser_view,
381 // BrowserView, public:
383 BrowserView::BrowserView()
408 BrowserView::~BrowserView() {
457 void BrowserView::Init(Browser* browser) {
465 BrowserView* BrowserView::GetBrowserViewForNativeWindow(
469 reinterpret_cast<BrowserView*>(widget->GetNativeWindowProperty(
474 BrowserView* BrowserView::GetBrowserViewForBrowser(const Browser* browser) {
475 return static_cast<BrowserView*>(browser->window());
478 void BrowserView::InitStatusBubble() {
483 void BrowserView::InitPermissionBubbleView() {
488 gfx::Rect BrowserView::GetToolbarBounds() const {
497 gfx::Rect BrowserView::GetFindBarBoundingBox() const {
501 int BrowserView::GetTabStripHeight() const {
508 gfx::Point BrowserView::OffsetPointForToolbarBackgroundImage(
519 bool BrowserView::IsTabStripVisible() const {
526 bool BrowserView::IsOffTheRecord() const {
530 bool BrowserView::IsGuestSession() const {
534 bool BrowserView::IsRegularOrGuestSession() const {
538 bool BrowserView::ShouldShowAvatar() const {
571 bool BrowserView::GetAccelerator(int cmd_id,
590 bool BrowserView::IsAcceleratorRegistered(const ui::Accelerator& accelerator) {
594 WebContents* BrowserView::GetActiveWebContents() const {
598 gfx::ImageSkia BrowserView::GetOTRAvatarIcon() const {
603 // BrowserView, BrowserWindow implementation:
605 void BrowserView::Show() {
639 void BrowserView::ShowInactive() {
644 void BrowserView::Hide() {
648 void BrowserView::SetBounds(const gfx::Rect& bounds) {
653 void BrowserView::Close() {
657 void BrowserView::Activate() {
661 void BrowserView::Deactivate() {
665 bool BrowserView::IsActive() const {
669 void BrowserView::FlashFrame(bool flash) {
673 bool BrowserView::IsAlwaysOnTop() const {
677 void BrowserView::SetAlwaysOnTop(bool always_on_top) {
682 gfx::NativeWindow BrowserView::GetNativeWindow() {
691 BrowserWindowTesting* BrowserView::GetBrowserWindowTesting() {
695 StatusBubble* BrowserView::GetStatusBubble() {
705 void BrowserView::UpdateTitleBar() {
711 void BrowserView::BookmarkBarStateChanged(
729 void BrowserView::UpdateDevTools() {
734 void BrowserView::UpdateLoadingAnimations(bool should_animate) {
741 &BrowserView::LoadingAnimationCallback);
753 void BrowserView::SetStarredState(bool is_starred) {
757 void BrowserView::SetTranslateIconToggled(bool is_lit) {
761 void BrowserView::OnActiveTabChanged(content::WebContents* old_contents,
829 void BrowserView::ZoomChangedForActiveTab(bool can_show_bubble) {
834 gfx::Rect BrowserView::GetRestoredBounds() const {
841 ui::WindowShowState BrowserView::GetRestoredState() const {
848 gfx::Rect BrowserView::GetBounds() const {
852 bool BrowserView::IsMaximized() const {
856 bool BrowserView::IsMinimized() const {
860 void BrowserView::Maximize() {
864 void BrowserView::Minimize() {
868 void BrowserView::Restore() {
872 void BrowserView::EnterFullscreen(
880 void BrowserView::ExitFullscreen() {
887 void BrowserView::UpdateFullscreenExitBubbleContent(
903 bool BrowserView::ShouldHideUIForFullscreen() const {
911 bool BrowserView::IsFullscreen() const {
915 bool BrowserView::IsFullscreenBubbleVisible() const {
920 void BrowserView::SetMetroSnapMode(bool enable) {
925 bool BrowserView::IsInMetroSnapMode() const {
930 void BrowserView::RestoreFocus() {
936 void BrowserView::FullscreenStateChanged() {
941 void BrowserView::ToolbarSizeChanged(bool is_animating) {
979 LocationBar* BrowserView::GetLocationBar() const {
983 void BrowserView::SetFocusToLocationBar(bool select_all) {
1021 void BrowserView::UpdateReloadStopState(bool is_loading, bool force) {
1026 void BrowserView::UpdateToolbar(content::WebContents* contents) {
1032 void BrowserView::FocusToolbar() {
1046 void BrowserView::FocusBookmarksToolbar() {
1055 void BrowserView::FocusInfobars() {
1060 void BrowserView::FocusAppMenu() {
1076 void BrowserView::RotatePaneFocus(bool forwards) {
1083 void BrowserView::DestroyBrowser() {
1093 bool BrowserView::IsBookmarkBarVisible() const {
1107 bool BrowserView::IsBookmarkBarAnimating() const {
1111 bool BrowserView::IsTabStripEditable() const {
1115 bool BrowserView::IsToolbarVisible() const {
1122 gfx::Rect BrowserView::GetRootWindowResizerRect() const {
1128 void BrowserView::ConfirmAddSearchProvider(TemplateURL* template_url,
1134 void BrowserView::ShowUpdateChromeDialog() {
1138 void BrowserView::ShowBookmarkBubble(const GURL& url, bool already_bookmarked) {
1150 void BrowserView::ShowBookmarkAppBubble(
1159 void BrowserView::ShowTranslateBubble(
1186 void BrowserView::ShowOneClickSigninBubble(
1206 void BrowserView::SetDownloadShelfVisible(bool visible) {
1226 bool BrowserView::IsDownloadShelfVisible() const {
1230 DownloadShelf* BrowserView::GetDownloadShelf() {
1239 void BrowserView::ConfirmBrowserCloseWithPendingDownloads(
1248 void BrowserView::UserChangedTheme() {
1252 int BrowserView::GetExtraRenderViewHeight() const {
1257 void BrowserView::WebContentsFocused(WebContents* contents) {
1264 void BrowserView::ShowWebsiteSettings(Profile* profile,
1273 void BrowserView::ShowAppMenu() {
1282 bool BrowserView::PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event,
1356 void BrowserView::HandleKeyboardEvent(const NativeWebKeyboardEvent& event) {
1368 void BrowserView::Cut() {
1376 void BrowserView::Copy() {
1380 void BrowserView::Paste() {
1384 WindowOpenDisposition BrowserView::GetDispositionForPopupBounds(
1389 FindBar* BrowserView::CreateFindBar() {
1393 WebContentsModalDialogHost* BrowserView::GetWebContentsModalDialogHost() {
1398 // BrowserView, BrowserWindowTesting implementation:
1400 BookmarkBarView* BrowserView::GetBookmarkBarView() const {
1404 LocationBarView* BrowserView::GetLocationBarView() const {
1408 views::View* BrowserView::GetTabContentsContainerView() const {
1412 ToolbarView* BrowserView::GetToolbarView() const {
1417 // BrowserView, TabStripModelObserver implementation:
1419 void BrowserView::TabInsertedAt(WebContents* contents,
1439 void BrowserView::TabDetachedAt(WebContents* contents, int index) {
1457 void BrowserView::TabDeactivated(WebContents* contents) {
1468 void BrowserView::TabStripEmpty() {
1475 void BrowserView::WillCloseAllTabs() {
1479 void BrowserView::CloseAllTabsCanceled() {
1484 // BrowserView, ui::AcceleratorProvider implementation:
1486 bool BrowserView::GetAcceleratorForCommandId(int command_id,
1493 // BrowserView, views::WidgetDelegate implementation:
1495 bool BrowserView::CanResize() const {
1499 bool BrowserView::CanMaximize() const {
1503 bool BrowserView::CanMinimize() const {
1507 bool BrowserView::CanActivate() const {
1523 base::Bind(&BrowserView::ActivateAppModalDialog,
1529 base::string16 BrowserView::GetWindowTitle() const {
1533 base::string16 BrowserView::GetAccessibleWindowTitle() const {
1542 views::View* BrowserView::GetInitiallyFocusedView() {
1546 bool BrowserView::ShouldShowWindowTitle() const {
1558 gfx::ImageSkia BrowserView::GetWindowAppIcon() {
1571 gfx::ImageSkia BrowserView::GetWindowIcon() {
1577 bool BrowserView::ShouldShowWindowIcon() const {
1589 bool BrowserView::ExecuteWindowsCommand(int command_id) {
1604 std::string BrowserView::GetWindowName() const {
1608 void BrowserView::SaveWindowPlacement(const gfx::Rect& bounds,
1620 bool BrowserView::GetSavedWindowPlacement(
1668 views::View* BrowserView::GetContentsView() {
1672 views::ClientView* BrowserView::CreateClientView(views::Widget* widget) {
1676 void BrowserView::OnWidgetActivationChanged(views::Widget* widget,
1682 void BrowserView::OnWindowBeginUserBoundsChange() {
1689 void BrowserView::OnWidgetMove() {
1713 views::Widget* BrowserView::GetWidget() {
1717 const views::Widget* BrowserView::GetWidget() const {
1721 void BrowserView::GetAccessiblePanes(std::vector<views::View*>* panes) {
1739 // BrowserView, views::ClientView overrides:
1741 bool BrowserView::CanClose() {
1781 int BrowserView::NonClientHitTest(const gfx::Point& point) {
1785 gfx::Size BrowserView::GetMinimumSize() const {
1790 // BrowserView, views::View overrides:
1792 const char* BrowserView::GetClassName() const {
1796 void BrowserView::Layout() {
1806 void BrowserView::PaintChildren(gfx::Canvas* canvas,
1819 void BrowserView::ViewHierarchyChanged(
1827 void BrowserView::ChildPreferredSizeChanged(View* child) {
1831 void BrowserView::GetAccessibleState(ui::AXViewState* state) {
1835 void BrowserView::OnNativeThemeChanged(const ui::NativeTheme* theme) {
1845 // BrowserView, ui::AcceleratorTarget overrides:
1847 bool BrowserView::AcceleratorPressed(const ui::Accelerator& accelerator) {
1872 // BrowserView, OmniboxPopupModelObserver overrides:
1873 void BrowserView::OnOmniboxPopupShownOrHidden() {
1878 // BrowserView, InfoBarContainer::Delegate overrides:
1880 SkColor BrowserView::GetInfoBarSeparatorColor() const {
1888 void BrowserView::InfoBarContainerStateChanged(bool is_animating) {
1892 bool BrowserView::DrawInfoBarArrows(int* x) const {
1901 void BrowserView::InitViews() {
1998 void BrowserView::LoadingAnimationCallback() {
2024 void BrowserView::OnLoadCompleted() {
2031 BrowserViewLayout* BrowserView::GetBrowserViewLayout() const {
2035 ContentsLayoutManager* BrowserView::GetContentsLayoutManager() const {
2040 bool BrowserView::MaybeShowBookmarkBar(WebContents* contents) {
2083 void BrowserView::SetBookmarkBarParent(views::View* new_parent) {
2101 bool BrowserView::MaybeShowInfoBar(WebContents* contents) {
2108 void BrowserView::UpdateDevToolsForContents(
2158 void BrowserView::UpdateUIForContents(WebContents* contents) {
2167 void BrowserView::ProcessFullscreen(bool fullscreen,
2220 bool BrowserView::ShouldUseImmersiveFullscreenForUrl(const GURL& url) const {
2231 void BrowserView::LoadAccelerators() {
2255 int BrowserView::GetCommandIDForAppCommandID(int app_command_id) const {
2288 void BrowserView::InitHangMonitor() {
2315 void BrowserView::UpdateAcceleratorMetrics(const ui::Accelerator& accelerator,
2376 BrowserView* view = new BrowserView();
2390 void BrowserView::ShowAvatarBubble(WebContents* web_contents,
2401 void BrowserView::ShowAvatarBubbleFromAvatarButton(
2441 void BrowserView::OverscrollUpdate(int delta_y) {
2446 int BrowserView::GetRenderViewHeightInsetWithDetachedBookmarkBar() {
2457 void BrowserView::ExecuteExtensionCommand(
2463 void BrowserView::DoCutCopyPaste(void (WebContents::*method)(),
2485 bool BrowserView::DoCutCopyPasteForWebContents(
2499 void BrowserView::ActivateAppModalDialog() const {
2516 int BrowserView::GetMaxTopInfoBarArrowHeight() {