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

Side by Side Diff: chrome/browser/extensions/extension_tabs_module.h

Issue 8473003: Add OVERRIDE to chrome/browser/extensions/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_EXTENSIONS_EXTENSION_TABS_MODULE_H__ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_TABS_MODULE_H__
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_TABS_MODULE_H__ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_TABS_MODULE_H__
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 virtual bool RunImpl() OVERRIDE; 105 virtual bool RunImpl() OVERRIDE;
106 DECLARE_EXTENSION_FUNCTION_NAME("tabs.highlight") 106 DECLARE_EXTENSION_FUNCTION_NAME("tabs.highlight")
107 }; 107 };
108 class UpdateTabFunction : public AsyncExtensionFunction, 108 class UpdateTabFunction : public AsyncExtensionFunction,
109 public TabContentsObserver { 109 public TabContentsObserver {
110 public: 110 public:
111 UpdateTabFunction(); 111 UpdateTabFunction();
112 private: 112 private:
113 virtual ~UpdateTabFunction() {} 113 virtual ~UpdateTabFunction() {}
114 virtual bool RunImpl() OVERRIDE; 114 virtual bool RunImpl() OVERRIDE;
115 virtual bool OnMessageReceived(const IPC::Message& message); 115 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
116 void OnExecuteCodeFinished(int request_id, 116 void OnExecuteCodeFinished(int request_id,
117 bool success, 117 bool success,
118 const std::string& error); 118 const std::string& error);
119 DECLARE_EXTENSION_FUNCTION_NAME("tabs.update") 119 DECLARE_EXTENSION_FUNCTION_NAME("tabs.update")
120 }; 120 };
121 class MoveTabsFunction : public SyncExtensionFunction { 121 class MoveTabsFunction : public SyncExtensionFunction {
122 virtual ~MoveTabsFunction() {} 122 virtual ~MoveTabsFunction() {}
123 virtual bool RunImpl() OVERRIDE; 123 virtual bool RunImpl() OVERRIDE;
124 DECLARE_EXTENSION_FUNCTION_NAME("tabs.move") 124 DECLARE_EXTENSION_FUNCTION_NAME("tabs.move")
125 }; 125 };
126 class ReloadTabFunction : public SyncExtensionFunction { 126 class ReloadTabFunction : public SyncExtensionFunction {
127 virtual ~ReloadTabFunction() {} 127 virtual ~ReloadTabFunction() {}
128 virtual bool RunImpl(); 128 virtual bool RunImpl() OVERRIDE;
129 DECLARE_EXTENSION_FUNCTION_NAME("tabs.reload") 129 DECLARE_EXTENSION_FUNCTION_NAME("tabs.reload")
130 }; 130 };
131 class RemoveTabsFunction : public SyncExtensionFunction { 131 class RemoveTabsFunction : public SyncExtensionFunction {
132 virtual ~RemoveTabsFunction() {} 132 virtual ~RemoveTabsFunction() {}
133 virtual bool RunImpl() OVERRIDE; 133 virtual bool RunImpl() OVERRIDE;
134 DECLARE_EXTENSION_FUNCTION_NAME("tabs.remove") 134 DECLARE_EXTENSION_FUNCTION_NAME("tabs.remove")
135 }; 135 };
136 class DetectTabLanguageFunction : public AsyncExtensionFunction, 136 class DetectTabLanguageFunction : public AsyncExtensionFunction,
137 public content::NotificationObserver { 137 public content::NotificationObserver {
138 private: 138 private:
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 // The format (JPEG vs PNG) of the resulting image. Set in RunImpl(). 170 // The format (JPEG vs PNG) of the resulting image. Set in RunImpl().
171 ImageFormat image_format_; 171 ImageFormat image_format_;
172 172
173 // Quality setting to use when encoding jpegs. Set in RunImpl(). 173 // Quality setting to use when encoding jpegs. Set in RunImpl().
174 int image_quality_; 174 int image_quality_;
175 175
176 DECLARE_EXTENSION_FUNCTION_NAME("tabs.captureVisibleTab") 176 DECLARE_EXTENSION_FUNCTION_NAME("tabs.captureVisibleTab")
177 }; 177 };
178 178
179 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TABS_MODULE_H__ 179 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TABS_MODULE_H__
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_tab_helper.h ('k') | chrome/browser/extensions/extension_test_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698