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

Side by Side Diff: chrome/browser/ui/views/external_tab_container_win.h

Issue 15944007: Fix cross-window focus in Chrome Frame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: only open popups once Created 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/ui/views/external_tab_container_win.cc » ('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) 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_EXTERNAL_TAB_CONTAINER_WIN_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_
6 #define CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_ 6 #define CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 const GURL& target_url, 124 const GURL& target_url,
125 content::WebContents* new_contents) OVERRIDE; 125 content::WebContents* new_contents) OVERRIDE;
126 virtual bool PreHandleKeyboardEvent( 126 virtual bool PreHandleKeyboardEvent(
127 content::WebContents* source, 127 content::WebContents* source,
128 const content::NativeWebKeyboardEvent& event, 128 const content::NativeWebKeyboardEvent& event,
129 bool* is_keyboard_shortcut) OVERRIDE; 129 bool* is_keyboard_shortcut) OVERRIDE;
130 virtual void HandleKeyboardEvent( 130 virtual void HandleKeyboardEvent(
131 content::WebContents* source, 131 content::WebContents* source,
132 const content::NativeWebKeyboardEvent& event) OVERRIDE; 132 const content::NativeWebKeyboardEvent& event) OVERRIDE;
133 virtual bool TakeFocus(content::WebContents* source, bool reverse) OVERRIDE; 133 virtual bool TakeFocus(content::WebContents* source, bool reverse) OVERRIDE;
134 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE;
134 virtual void CanDownload(content::RenderViewHost* render_view_host, 135 virtual void CanDownload(content::RenderViewHost* render_view_host,
135 int request_id, 136 int request_id,
136 const std::string& request_method, 137 const std::string& request_method,
137 const base::Callback<void(bool)>& callback) OVERRIDE; 138 const base::Callback<void(bool)>& callback) OVERRIDE;
138 virtual bool OnGoToEntryOffset(int offset) OVERRIDE; 139 virtual bool OnGoToEntryOffset(int offset) OVERRIDE;
139 virtual bool HandleContextMenu( 140 virtual bool HandleContextMenu(
140 const content::ContextMenuParams& params) OVERRIDE; 141 const content::ContextMenuParams& params) OVERRIDE;
141 virtual void BeforeUnloadFired(content::WebContents* tab, 142 virtual void BeforeUnloadFired(content::WebContents* tab,
142 bool proceed, 143 bool proceed,
143 bool* proceed_to_fire_unload) OVERRIDE; 144 bool* proceed_to_fire_unload) OVERRIDE;
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 return false; 399 return false;
399 } 400 }
400 401
401 virtual void BeforeUnloadFired(content::WebContents* tab, bool proceed, 402 virtual void BeforeUnloadFired(content::WebContents* tab, bool proceed,
402 bool* proceed_to_fire_unload) { 403 bool* proceed_to_fire_unload) {
403 NOTREACHED(); 404 NOTREACHED();
404 } 405 }
405 }; 406 };
406 407
407 #endif // CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_ 408 #endif // CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/external_tab_container_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698