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

Side by Side Diff: chrome/browser/renderer_context_menu/context_menu_content_type_platform_app.h

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_RENDERER_CONTEXT_MENU_CONTEXT_MENU_CONTENT_TYPE_PLATFORM_ APP_H_ 5 #ifndef CHROME_BROWSER_RENDERER_CONTEXT_MENU_CONTEXT_MENU_CONTENT_TYPE_PLATFORM_ APP_H_
6 #define CHROME_BROWSER_RENDERER_CONTEXT_MENU_CONTEXT_MENU_CONTENT_TYPE_PLATFORM_ APP_H_ 6 #define CHROME_BROWSER_RENDERER_CONTEXT_MENU_CONTEXT_MENU_CONTENT_TYPE_PLATFORM_ APP_H_
7 7
8 #include "base/macros.h"
8 #include "components/renderer_context_menu/context_menu_content_type.h" 9 #include "components/renderer_context_menu/context_menu_content_type.h"
9 10
10 namespace extensions { 11 namespace extensions {
11 class Extension; 12 class Extension;
12 } 13 }
13 14
14 class ContextMenuContentTypePlatformApp : public ContextMenuContentType { 15 class ContextMenuContentTypePlatformApp : public ContextMenuContentType {
15 public: 16 public:
16 ~ContextMenuContentTypePlatformApp() override; 17 ~ContextMenuContentTypePlatformApp() override;
17 18
18 // ContextMenuContentType overrides. 19 // ContextMenuContentType overrides.
19 bool SupportsGroup(int group) override; 20 bool SupportsGroup(int group) override;
20 21
21 protected: 22 protected:
22 ContextMenuContentTypePlatformApp(content::WebContents* web_contents, 23 ContextMenuContentTypePlatformApp(content::WebContents* web_contents,
23 const content::ContextMenuParams& params); 24 const content::ContextMenuParams& params);
24 25
25 private: 26 private:
26 friend class ContextMenuContentTypeFactory; 27 friend class ContextMenuContentTypeFactory;
27 28
28 const extensions::Extension* GetExtension() const; 29 const extensions::Extension* GetExtension() const;
29 30
30 DISALLOW_COPY_AND_ASSIGN(ContextMenuContentTypePlatformApp); 31 DISALLOW_COPY_AND_ASSIGN(ContextMenuContentTypePlatformApp);
31 }; 32 };
32 33
33 #endif // CHROME_BROWSER_RENDERER_CONTEXT_MENU_CONTEXT_MENU_CONTENT_TYPE_PLATFO RM_APP_H_ 34 #endif // CHROME_BROWSER_RENDERER_CONTEXT_MENU_CONTEXT_MENU_CONTENT_TYPE_PLATFO RM_APP_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698