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

Side by Side Diff: components/renderer_context_menu/context_menu_content_type.h

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more 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 COMPONENTS_RENDERER_CONTEXT_MENU_CONTEXT_MENU_CONTENT_TYPE_H_ 5 #ifndef COMPONENTS_RENDERER_CONTEXT_MENU_CONTEXT_MENU_CONTENT_TYPE_H_
6 #define COMPONENTS_RENDERER_CONTEXT_MENU_CONTEXT_MENU_CONTENT_TYPE_H_ 6 #define COMPONENTS_RENDERER_CONTEXT_MENU_CONTEXT_MENU_CONTENT_TYPE_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/macros.h"
9 #include "content/public/common/context_menu_params.h" 10 #include "content/public/common/context_menu_params.h"
10 #include "ui/base/models/simple_menu_model.h" 11 #include "ui/base/models/simple_menu_model.h"
11 12
12 namespace content { 13 namespace content {
13 class WebContents; 14 class WebContents;
14 } 15 }
15 16
16 // ContextMenuContentType is a helper to decide which category/group of items 17 // ContextMenuContentType is a helper to decide which category/group of items
17 // are relevant for a given WebContents and a context. 18 // are relevant for a given WebContents and a context.
18 // 19 //
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 const bool supports_custom_items_; 80 const bool supports_custom_items_;
80 81
81 // A boolean callback to check if the url points to the internal 82 // A boolean callback to check if the url points to the internal
82 // resources. 83 // resources.
83 InternalResourcesURLChecker internal_resources_url_checker_; 84 InternalResourcesURLChecker internal_resources_url_checker_;
84 85
85 DISALLOW_COPY_AND_ASSIGN(ContextMenuContentType); 86 DISALLOW_COPY_AND_ASSIGN(ContextMenuContentType);
86 }; 87 };
87 88
88 #endif // COMPONENTS_RENDERER_CONTEXT_MENU_CONTEXT_MENU_CONTENT_TYPE_H_ 89 #endif // COMPONENTS_RENDERER_CONTEXT_MENU_CONTEXT_MENU_CONTENT_TYPE_H_
OLDNEW
« no previous file with comments | « components/rappor/test_rappor_service.h ('k') | components/renderer_context_menu/context_menu_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698