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

Side by Side Diff: chrome/browser/ui/views/frame/browser_view.h

Issue 1149263003: Add user_gesture param to BaseWindow::Activate Base URL: https://chromium.googlesource.com/chromium/src.git@ug2_WebContentsDelegate_ActivateContents
Patch Set: Update callers Created 5 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 // FullscreenController. This method does any processing which was skipped. 234 // FullscreenController. This method does any processing which was skipped.
235 // Only exiting fullscreen in this way is currently supported. 235 // Only exiting fullscreen in this way is currently supported.
236 void FullscreenStateChanged(); 236 void FullscreenStateChanged();
237 237
238 // Overridden from BrowserWindow: 238 // Overridden from BrowserWindow:
239 void Show() override; 239 void Show() override;
240 void ShowInactive() override; 240 void ShowInactive() override;
241 void Hide() override; 241 void Hide() override;
242 void SetBounds(const gfx::Rect& bounds) override; 242 void SetBounds(const gfx::Rect& bounds) override;
243 void Close() override; 243 void Close() override;
244 void Activate() override; 244 void Activate(bool user_gesture) override;
245 void Deactivate() override; 245 void Deactivate() override;
246 bool IsActive() const override; 246 bool IsActive() const override;
247 void FlashFrame(bool flash) override; 247 void FlashFrame(bool flash) override;
248 bool IsAlwaysOnTop() const override; 248 bool IsAlwaysOnTop() const override;
249 void SetAlwaysOnTop(bool always_on_top) override; 249 void SetAlwaysOnTop(bool always_on_top) override;
250 gfx::NativeWindow GetNativeWindow() const override; 250 gfx::NativeWindow GetNativeWindow() const override;
251 StatusBubble* GetStatusBubble() override; 251 StatusBubble* GetStatusBubble() override;
252 void UpdateTitleBar() override; 252 void UpdateTitleBar() override;
253 void BookmarkBarStateChanged( 253 void BookmarkBarStateChanged(
254 BookmarkBar::AnimateChangeType change_type) override; 254 BookmarkBar::AnimateChangeType change_type) override;
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after
699 scoped_ptr<ImmersiveModeController> immersive_mode_controller_; 699 scoped_ptr<ImmersiveModeController> immersive_mode_controller_;
700 700
701 scoped_ptr<WebContentsCloseHandler> web_contents_close_handler_; 701 scoped_ptr<WebContentsCloseHandler> web_contents_close_handler_;
702 702
703 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; 703 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_;
704 704
705 DISALLOW_COPY_AND_ASSIGN(BrowserView); 705 DISALLOW_COPY_AND_ASSIGN(BrowserView);
706 }; 706 };
707 707
708 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 708 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698