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

Side by Side Diff: chrome/browser/ui/extensions/shell_window.h

Issue 12225076: Delete most web intents code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 10 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
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_EXTENSIONS_SHELL_WINDOW_H_ 5 #ifndef CHROME_BROWSER_UI_EXTENSIONS_SHELL_WINDOW_H_
6 #define CHROME_BROWSER_UI_EXTENSIONS_SHELL_WINDOW_H_ 6 #define CHROME_BROWSER_UI_EXTENSIONS_SHELL_WINDOW_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "chrome/browser/extensions/extension_function_dispatcher.h" 9 #include "chrome/browser/extensions/extension_function_dispatcher.h"
10 #include "chrome/browser/extensions/extension_keybinding_registry.h" 10 #include "chrome/browser/extensions/extension_keybinding_registry.h"
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 // Instantiates a platform-specific ShellWindow subclass (one implementation 132 // Instantiates a platform-specific ShellWindow subclass (one implementation
133 // per platform). Public users of ShellWindow should use ShellWindow::Create. 133 // per platform). Public users of ShellWindow should use ShellWindow::Create.
134 void Init(const GURL& url, const CreateParams& params); 134 void Init(const GURL& url, const CreateParams& params);
135 135
136 // content::WebContentsObserver implementation. 136 // content::WebContentsObserver implementation.
137 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 137 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
138 138
139 // content::WebContentsDelegate implementation. 139 // content::WebContentsDelegate implementation.
140 virtual void CloseContents(content::WebContents* contents) OVERRIDE; 140 virtual void CloseContents(content::WebContents* contents) OVERRIDE;
141 virtual bool ShouldSuppressDialogs() OVERRIDE; 141 virtual bool ShouldSuppressDialogs() OVERRIDE;
142 virtual void WebIntentDispatch(
143 content::WebContents* web_contents,
144 content::WebIntentsDispatcher* intents_dispatcher) OVERRIDE;
145 virtual void RunFileChooser( 142 virtual void RunFileChooser(
146 content::WebContents* tab, 143 content::WebContents* tab,
147 const content::FileChooserParams& params) OVERRIDE; 144 const content::FileChooserParams& params) OVERRIDE;
148 virtual bool IsPopupOrPanel( 145 virtual bool IsPopupOrPanel(
149 const content::WebContents* source) const OVERRIDE; 146 const content::WebContents* source) const OVERRIDE;
150 virtual void MoveContents( 147 virtual void MoveContents(
151 content::WebContents* source, const gfx::Rect& pos) OVERRIDE; 148 content::WebContents* source, const gfx::Rect& pos) OVERRIDE;
152 virtual void NavigationStateChanged(const content::WebContents* source, 149 virtual void NavigationStateChanged(const content::WebContents* source,
153 unsigned changed_flags) OVERRIDE; 150 unsigned changed_flags) OVERRIDE;
154 virtual void ToggleFullscreenModeForTab(content::WebContents* source, 151 virtual void ToggleFullscreenModeForTab(content::WebContents* source,
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 scoped_ptr<NativeAppWindow> native_app_window_; 237 scoped_ptr<NativeAppWindow> native_app_window_;
241 238
242 base::WeakPtrFactory<ShellWindow> weak_ptr_factory_; 239 base::WeakPtrFactory<ShellWindow> weak_ptr_factory_;
243 240
244 base::WeakPtrFactory<ShellWindow> image_loader_ptr_factory_; 241 base::WeakPtrFactory<ShellWindow> image_loader_ptr_factory_;
245 242
246 DISALLOW_COPY_AND_ASSIGN(ShellWindow); 243 DISALLOW_COPY_AND_ASSIGN(ShellWindow);
247 }; 244 };
248 245
249 #endif // CHROME_BROWSER_UI_EXTENSIONS_SHELL_WINDOW_H_ 246 #endif // CHROME_BROWSER_UI_EXTENSIONS_SHELL_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698