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

Side by Side Diff: runtime/embedders/openglui/common/vm_glue.h

Issue 12455012: Fix the handling of screen orientation changes. In these cases almost the entire application is tor… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 9 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 | « no previous file | runtime/embedders/openglui/common/vm_glue.cc » ('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 Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef EMBEDDERS_OPENGLUI_COMMON_VM_GLUE_H_ 5 #ifndef EMBEDDERS_OPENGLUI_COMMON_VM_GLUE_H_
6 #define EMBEDDERS_OPENGLUI_COMMON_VM_GLUE_H_ 6 #define EMBEDDERS_OPENGLUI_COMMON_VM_GLUE_H_
7 7
8 #include <stdlib.h> 8 #include <stdlib.h>
9 9
10 #include "embedders/openglui/common/events.h" 10 #include "embedders/openglui/common/events.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 char** error); 46 char** error);
47 static bool CreateIsolateAndSetup(const char* script_uri, 47 static bool CreateIsolateAndSetup(const char* script_uri,
48 const char* main, 48 const char* main,
49 void* data, char** error); 49 void* data, char** error);
50 static Dart_Handle LibraryTagHandler(Dart_LibraryTag tag, 50 static Dart_Handle LibraryTagHandler(Dart_LibraryTag tag,
51 Dart_Handle library, 51 Dart_Handle library,
52 Dart_Handle urlHandle); 52 Dart_Handle urlHandle);
53 static Dart_Handle LoadSourceFromFile(const char* url); 53 static Dart_Handle LoadSourceFromFile(const char* url);
54 static void ShutdownIsolate(void* callback_data); 54 static void ShutdownIsolate(void* callback_data);
55 55
56 static bool initialized_vm_;
56 ISized* surface_; 57 ISized* surface_;
57 Dart_Isolate isolate_; 58 Dart_Isolate isolate_;
58 bool initialized_vm_;
59 bool initialized_script_; 59 bool initialized_script_;
60 char* main_script_; 60 char* main_script_;
61 static char* extension_script_; 61 static char* extension_script_;
62 }; 62 };
63 63
64 #endif // EMBEDDERS_OPENGLUI_COMMON_VM_GLUE_H_ 64 #endif // EMBEDDERS_OPENGLUI_COMMON_VM_GLUE_H_
65 65
OLDNEW
« no previous file with comments | « no previous file | runtime/embedders/openglui/common/vm_glue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698