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

Side by Side Diff: content/public/browser/invalidate_type.h

Issue 10696166: Remove #pragma once from content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
« no previous file with comments | « content/public/browser/interstitial_page.h ('k') | content/public/browser/javascript_dialogs.h » ('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 (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 CONTENT_PUBLIC_BROWSER_INVALIDATE_TYPE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_INVALIDATE_TYPE_H_
6 #define CONTENT_PUBLIC_BROWSER_INVALIDATE_TYPE_H_ 6 #define CONTENT_PUBLIC_BROWSER_INVALIDATE_TYPE_H_
7 #pragma once
8 7
9 namespace content { 8 namespace content {
10 9
11 // Flags passed to the WebContentsDelegate.NavigationStateChanged to tell it 10 // Flags passed to the WebContentsDelegate.NavigationStateChanged to tell it
12 // what has changed. Combine them to update more than one thing. 11 // what has changed. Combine them to update more than one thing.
13 enum InvalidateTypes { 12 enum InvalidateTypes {
14 INVALIDATE_TYPE_URL = 1 << 0, // The URL has changed. 13 INVALIDATE_TYPE_URL = 1 << 0, // The URL has changed.
15 INVALIDATE_TYPE_TAB = 1 << 1, // The favicon, app icon, or crashed 14 INVALIDATE_TYPE_TAB = 1 << 1, // The favicon, app icon, or crashed
16 // state changed. 15 // state changed.
17 INVALIDATE_TYPE_LOAD = 1 << 2, // The loading state has changed. 16 INVALIDATE_TYPE_LOAD = 1 << 2, // The loading state has changed.
18 INVALIDATE_TYPE_PAGE_ACTIONS = 1 << 3, // Page action icons have changed. 17 INVALIDATE_TYPE_PAGE_ACTIONS = 1 << 3, // Page action icons have changed.
19 INVALIDATE_TYPE_TITLE = 1 << 4, // The title changed. 18 INVALIDATE_TYPE_TITLE = 1 << 4, // The title changed.
20 }; 19 };
21 20
22 } 21 }
23 22
24 #endif // CONTENT_PUBLIC_BROWSER_INVALIDATE_TYPE_H_ 23 #endif // CONTENT_PUBLIC_BROWSER_INVALIDATE_TYPE_H_
OLDNEW
« no previous file with comments | « content/public/browser/interstitial_page.h ('k') | content/public/browser/javascript_dialogs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698