| OLD | NEW |
| 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 CHROME_BROWSER_UI_BROWSER_H_ | 5 #ifndef CHROME_BROWSER_UI_BROWSER_H_ |
| 6 #define CHROME_BROWSER_UI_BROWSER_H_ | 6 #define CHROME_BROWSER_UI_BROWSER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 382 static bool RunUnloadEventsHelper(content::WebContents* contents); | 382 static bool RunUnloadEventsHelper(content::WebContents* contents); |
| 383 | 383 |
| 384 // Helper function to handle JS out of memory notifications | 384 // Helper function to handle JS out of memory notifications |
| 385 static void JSOutOfMemoryHelper(content::WebContents* web_contents); | 385 static void JSOutOfMemoryHelper(content::WebContents* web_contents); |
| 386 | 386 |
| 387 // Helper function to register a protocol handler. | 387 // Helper function to register a protocol handler. |
| 388 static void RegisterProtocolHandlerHelper(content::WebContents* web_contents, | 388 static void RegisterProtocolHandlerHelper(content::WebContents* web_contents, |
| 389 const std::string& protocol, | 389 const std::string& protocol, |
| 390 const GURL& url, | 390 const GURL& url, |
| 391 const string16& title, | 391 const string16& title, |
| 392 bool user_gesture, | 392 bool user_gesture); |
| 393 BrowserWindow* window); | |
| 394 | 393 |
| 395 // Helper function to register an intent handler. | 394 // Helper function to register an intent handler. |
| 396 // |data| is the registered handler data. |user_gesture| is true if the call | 395 // |data| is the registered handler data. |user_gesture| is true if the call |
| 397 // was made in the context of a user gesture. | 396 // was made in the context of a user gesture. |
| 398 static void RegisterIntentHandlerHelper( | 397 static void RegisterIntentHandlerHelper( |
| 399 content::WebContents* web_contents, | 398 content::WebContents* web_contents, |
| 400 const webkit_glue::WebIntentServiceData& data, | 399 const webkit_glue::WebIntentServiceData& data, |
| 401 bool user_gesture); | 400 bool user_gesture); |
| 402 | 401 |
| 403 // Helper function to handle find results. | 402 // Helper function to handle find results. |
| (...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 925 bool window_has_shown_; | 924 bool window_has_shown_; |
| 926 | 925 |
| 927 // Currently open color chooser. Non-NULL after OpenColorChooser is called and | 926 // Currently open color chooser. Non-NULL after OpenColorChooser is called and |
| 928 // before DidEndColorChooser is called. | 927 // before DidEndColorChooser is called. |
| 929 scoped_ptr<content::ColorChooser> color_chooser_; | 928 scoped_ptr<content::ColorChooser> color_chooser_; |
| 930 | 929 |
| 931 DISALLOW_COPY_AND_ASSIGN(Browser); | 930 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 932 }; | 931 }; |
| 933 | 932 |
| 934 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 933 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
| OLD | NEW |