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

Side by Side Diff: content/shell/browser/shell.h

Issue 1345343003: Remove lots of old blur plumbing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase. Created 5 years, 2 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 | « content/renderer/render_widget.cc ('k') | content/shell/browser/shell.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef CONTENT_SHELL_BROWSER_SHELL_H_ 4 #ifndef CONTENT_SHELL_BROWSER_SHELL_H_
5 #define CONTENT_SHELL_BROWSER_SHELL_H_ 5 #define CONTENT_SHELL_BROWSER_SHELL_H_
6 6
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 void HandleKeyboardEvent(WebContents* source, 143 void HandleKeyboardEvent(WebContents* source,
144 const NativeWebKeyboardEvent& event) override; 144 const NativeWebKeyboardEvent& event) override;
145 #endif 145 #endif
146 bool AddMessageToConsole(WebContents* source, 146 bool AddMessageToConsole(WebContents* source,
147 int32 level, 147 int32 level,
148 const base::string16& message, 148 const base::string16& message,
149 int32 line_no, 149 int32 line_no,
150 const base::string16& source_id) override; 150 const base::string16& source_id) override;
151 void RendererUnresponsive(WebContents* source) override; 151 void RendererUnresponsive(WebContents* source) override;
152 void ActivateContents(WebContents* contents) override; 152 void ActivateContents(WebContents* contents) override;
153 void DeactivateContents(WebContents* contents) override;
154 bool HandleContextMenu(const content::ContextMenuParams& params) override; 153 bool HandleContextMenu(const content::ContextMenuParams& params) override;
155 154
156 static gfx::Size GetShellDefaultSize(); 155 static gfx::Size GetShellDefaultSize();
157 156
158 private: 157 private:
159 enum UIControl { 158 enum UIControl {
160 BACK_BUTTON, 159 BACK_BUTTON,
161 FORWARD_BUTTON, 160 FORWARD_BUTTON,
162 STOP_BUTTON 161 STOP_BUTTON
163 }; 162 };
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 static base::Callback<void(Shell*)> shell_created_callback_; 253 static base::Callback<void(Shell*)> shell_created_callback_;
255 254
256 // True if the destructur of Shell should post a quit closure on the current 255 // True if the destructur of Shell should post a quit closure on the current
257 // message loop if the destructed Shell object was the last one. 256 // message loop if the destructed Shell object was the last one.
258 static bool quit_message_loop_; 257 static bool quit_message_loop_;
259 }; 258 };
260 259
261 } // namespace content 260 } // namespace content
262 261
263 #endif // CONTENT_SHELL_BROWSER_SHELL_H_ 262 #endif // CONTENT_SHELL_BROWSER_SHELL_H_
OLDNEW
« no previous file with comments | « content/renderer/render_widget.cc ('k') | content/shell/browser/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698