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

Side by Side Diff: chrome/browser/chromeos/login/eula_view.h

Issue 3174030: Making window.focus()/blur() work only when there is a user gesture. (Closed) Base URL: git://codf21.jail/chromium.git
Patch Set: Created 10 years, 4 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
« no previous file with comments | « chrome/browser/browser.cc ('k') | chrome/browser/chromeos/login/web_page_screen.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_CHROMEOS_LOGIN_EULA_VIEW_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_EULA_VIEW_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_EULA_VIEW_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_EULA_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/chromeos/login/view_screen.h" 9 #include "chrome/browser/chromeos/login/view_screen.h"
10 #include "chrome/browser/pref_member.h" 10 #include "chrome/browser/pref_member.h"
(...skipping 29 matching lines...) Expand all
40 WindowOpenDisposition disposition, 40 WindowOpenDisposition disposition,
41 PageTransition::Type transition) {} 41 PageTransition::Type transition) {}
42 virtual void NavigationStateChanged(const TabContents* source, 42 virtual void NavigationStateChanged(const TabContents* source,
43 unsigned changed_flags) {} 43 unsigned changed_flags) {}
44 virtual void AddNewContents(TabContents* source, 44 virtual void AddNewContents(TabContents* source,
45 TabContents* new_contents, 45 TabContents* new_contents,
46 WindowOpenDisposition disposition, 46 WindowOpenDisposition disposition,
47 const gfx::Rect& initial_pos, 47 const gfx::Rect& initial_pos,
48 bool user_gesture) {} 48 bool user_gesture) {}
49 virtual void ActivateContents(TabContents* contents) {} 49 virtual void ActivateContents(TabContents* contents) {}
50 virtual void DeactivateContents(TabContents* contents) {}
50 virtual void LoadingStateChanged(TabContents* source) {} 51 virtual void LoadingStateChanged(TabContents* source) {}
51 virtual void CloseContents(TabContents* source) {} 52 virtual void CloseContents(TabContents* source) {}
52 virtual bool IsPopup(TabContents* source) { return false; } 53 virtual bool IsPopup(TabContents* source) { return false; }
53 virtual void URLStarredChanged(TabContents* source, bool starred) {} 54 virtual void URLStarredChanged(TabContents* source, bool starred) {}
54 virtual void UpdateTargetURL(TabContents* source, const GURL& url) {} 55 virtual void UpdateTargetURL(TabContents* source, const GURL& url) {}
55 virtual bool ShouldAddNavigationToHistory() const { return false; } 56 virtual bool ShouldAddNavigationToHistory() const { return false; }
56 virtual void MoveContents(TabContents* source, const gfx::Rect& pos) {} 57 virtual void MoveContents(TabContents* source, const gfx::Rect& pos) {}
57 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating) {} 58 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating) {}
58 virtual bool HandleContextMenu(const ContextMenuParams& params) { 59 virtual bool HandleContextMenu(const ContextMenuParams& params) {
59 return true; 60 return true;
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 explicit EulaScreen(WizardScreenDelegate* delegate) 126 explicit EulaScreen(WizardScreenDelegate* delegate)
126 : DefaultViewScreen<EulaView>(delegate) { 127 : DefaultViewScreen<EulaView>(delegate) {
127 } 128 }
128 private: 129 private:
129 DISALLOW_COPY_AND_ASSIGN(EulaScreen); 130 DISALLOW_COPY_AND_ASSIGN(EulaScreen);
130 }; 131 };
131 132
132 } // namespace chromeos 133 } // namespace chromeos
133 134
134 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EULA_VIEW_H_ 135 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EULA_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/browser.cc ('k') | chrome/browser/chromeos/login/web_page_screen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698