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

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

Issue 1135693006: Fix X11DesktopHandler::ActivateWindow on Unity for known user gestures Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 // when a new browser window is created. 230 // when a new browser window is created.
231 void RestoreFocus(); 231 void RestoreFocus();
232 232
233 // Called after the widget's fullscreen state is changed without going through 233 // Called after the widget's fullscreen state is changed without going through
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 ShowForUserGesture() override;
240 void ShowInactive() override; 241 void ShowInactive() override;
241 void Hide() override; 242 void Hide() override;
242 void SetBounds(const gfx::Rect& bounds) override; 243 void SetBounds(const gfx::Rect& bounds) override;
243 void Close() override; 244 void Close() override;
244 void Activate() override; 245 void Activate() override;
246 void ActivateForUserGesture() override;
245 void Deactivate() override; 247 void Deactivate() override;
246 bool IsActive() const override; 248 bool IsActive() const override;
247 void FlashFrame(bool flash) override; 249 void FlashFrame(bool flash) override;
248 bool IsAlwaysOnTop() const override; 250 bool IsAlwaysOnTop() const override;
249 void SetAlwaysOnTop(bool always_on_top) override; 251 void SetAlwaysOnTop(bool always_on_top) override;
250 gfx::NativeWindow GetNativeWindow() const override; 252 gfx::NativeWindow GetNativeWindow() const override;
251 StatusBubble* GetStatusBubble() override; 253 StatusBubble* GetStatusBubble() override;
252 void UpdateTitleBar() override; 254 void UpdateTitleBar() override;
253 void BookmarkBarStateChanged( 255 void BookmarkBarStateChanged(
254 BookmarkBar::AnimateChangeType change_type) override; 256 BookmarkBar::AnimateChangeType change_type) override;
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after
699 scoped_ptr<ImmersiveModeController> immersive_mode_controller_; 701 scoped_ptr<ImmersiveModeController> immersive_mode_controller_;
700 702
701 scoped_ptr<WebContentsCloseHandler> web_contents_close_handler_; 703 scoped_ptr<WebContentsCloseHandler> web_contents_close_handler_;
702 704
703 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; 705 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_;
704 706
705 DISALLOW_COPY_AND_ASSIGN(BrowserView); 707 DISALLOW_COPY_AND_ASSIGN(BrowserView);
706 }; 708 };
707 709
708 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 710 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698